import React, { Component } from 'react'

export default class TotalPrice extends Component {
  render() {
    const { total } = this.props
    return <div>总价：{total}</div>
  }
}
